<div class="search-box">
    <div id="search-form-collapse" class="panel-collapse collapse" style="margin-bottom: 10px;">
        <div class="panel-body">
            <form action="{!! $action !!}" method="get" class="layui-form search-form">

                @foreach($filters as $filter)
                    {!! $filter->render() !!}
                @endforeach

                <div class="layui-clear"></div>
                <button type="submit" class="layui-btn layui-btn-sm">查询</button>
                <a href="{!! $action !!}" class="layui-btn layui-btn-sm layui-btn-primary">重置</a>

            </form>
        </div>
    </div>
    <a href="javascript:void(0);" class="collapse-switch" data-toggle="collapse" data-target="#search-form-collapse">
        <span><i class="fas"></i></span>
    </a>
</div>
